package com.ucampus.dao;

import com.ucampus.dao.sql.ManagerSql;
import com.ucampus.entity.Manager;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.UpdateProvider;

public interface ManagerDao {
    @Select("select * from manager where username = #{username}")
    Manager select(String username);

    @UpdateProvider(type = ManagerSql.class,method = "update")
    int update(String username, String nickname,String password);

}
